export function handleErrorAvatar(event){
  const imgError = event.target
  imgError.src= require('@/assets/images/cravatar.png')
}

export function handleErrorAvatarNew(event,name){
  const imgError = event.target
  imgError.src= 'https://ui-avatars.com/api/?rounded=true&background=2670e8&color=fff&name='+name
}
